package com.gaga.metadata.entity.base;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

import static com.gaga.metadata.common.constants.TransformContants.ORDER_ASC;


/**
 * @author liujia
 * @version 1.0
 * @date 2022/12/12 17:41
 */
@Data
@Accessors(chain = true)
public class BaseOrderBy implements Serializable {

    /**
     * 列名
     */
    private String columnName;

    /**
     * 关联表的名称或者别名
     */
    private String linkTableNameOrAliasName;

    /**
     * 升序或者降序
     */
    private String ascOrDesc = ORDER_ASC;

}
